#include "weatherparser.h"
#include <assert.h>
#include <iostream>

int main (int argc, char const *argv[])
{
    WeatherParser wp = WeatherParser("weather_test.txt");
    assert(wp.getTemp() == 60);
    assert(wp.getWeatherCode() == 11);
    cout << "Passed all tests, temp: " << wp.getTemp() << ", weather code: " 
         << wp.getWeatherCode() << endl;
    
    return 0;
}